import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import './registerServiceWorker'
import smartmapx from '@smx/api'
import mapboxgl from 'mapbox-gl'
import VueResource from 'vue-resource'
import VueEvent from '../VueEvent.js'
import Echarts from 'echarts'
import Echartslayer from 'echartslayer'

Vue.config.productionTip = false;
Vue.prototype.smartmapx=smartmapx;
Vue.prototype.mapbgl=mapboxgl;
Vue.prototype.VueEvent=VueEvent;
Vue.prototype.$echarts = Echarts;
Vue.prototype.$echartslayer = Echartslayer;
Vue.use(VueResource);
Vue.use(ElementUI);

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
